package com.javaframe.role.security.intercept;

import java.io.Serializable;

import org.acegisecurity.ConfigAttributeDefinition;

public class RdbmsEntryHolder implements Serializable {
	
	private static final long serialVersionUID = -5286275446194115956L;

	private String url;

	private ConfigAttributeDefinition configAttributeDefinition;

	
	public RdbmsEntryHolder() {
	}

	public RdbmsEntryHolder(String url, ConfigAttributeDefinition configAttributeDefinition) {
		this.url = url;
		this.configAttributeDefinition = configAttributeDefinition;
	}

	public ConfigAttributeDefinition getConfigAttributeDefinition() {
		return configAttributeDefinition;
	}
	
	public void setConfigAttributeDefinition(
			ConfigAttributeDefinition configAttributeDefinition) {
		this.configAttributeDefinition = configAttributeDefinition;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Override
	public String toString() {
		return this.url;
	}
}
